#pragma once

#include "builder.h"

class ConcreteBuilderB : public Builder
{
public:
  ConcreteBuilderB() = default;
  ~ConcreteBuilderB() = default;
  void buildPartA() override;
  void buildPartB() override;
};

using ConcreteBuilderBPtr = std::shared_ptr<ConcreteBuilderB>;

void ConcreteBuilderB::buildPartA() {
  product_->addPart("55");
}

void ConcreteBuilderB::buildPartB() {
  product_->addPart("66");
}
